<!-- 个人几件核对-->
<ion-header>
  <ion-navbar color="headerColor">
    <ion-title>个人计件核对</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding class="bg-color">
  <div style="font-size: 1.5rem;text-align: center">
          <label>日期：</label>
          <input [(ngModel)]="bzDate" class="input-text" readonly style="z-index: 9999;"(click)="getDate()">
            <label>产品：</label>
            <select [(ngModel)]="seriesCode"  (change)="changeQuery()">
              <option value="">请选择</option>
              <option *ngFor="let item of seriesList" value="{{item.SERIES_CODE}}">{{item.SERIES_NAME}}</option>
            </select>
  </div>

  <div style="margin-top: 3%">
    <table class="table-list">
      <thead>
      <tr>
        <th>序号</th>
        <th>日期</th>
        <th>班组</th>
        <th>产品名称</th>
        <th>成型产量</th>
        <th>机手产量</th>
        <th>差异</th>
      </tr>
      </thead>
      <tbody>
      <tr *ngFor="let item of dataList;let i=index">
        <td>{{i+1}}</td>
        <td>{{item.fdDate}}</td>
        <td>{{item.fdGroupType}}</td>
        <td>{{item.seriesName}}</td>
        <td>{{item.cxYield}}</td>
        <td>{{item.jsYield}}</td>
        <td>{{item.cxYield -item.jsYield}}</td>
      </tr>
      </tbody>
    </table>
  </div>
</ion-content>
